#include<stdio.h>
#include<conio.h>
void main()
{
	int r, c, sum;

	clrscr();

	for(r = 1; r <= 3; r++)

	{

		for(c =1; c <= 2; c++)

		{

			sum = r+c;


			printf("\n\t\tr = %d\n\t\tc = %d\n\t\tsum = %d\n\n\n\n",r,c,sum);

		}

	}

	getch();
}